// 主页home
// 轮播图api
export const getBannerList = () => uni.$http.get('/api/public/v1/home/swiperdata')
// 导航列表数据api
export const getNavList = () => uni.$http.get('/api/public/v1/home/catitems')
// 楼层列表数据api
export const getFloorList = () => uni.$http.get('/api/public/v1/home/floordata')

// 分类Cate
// 分类左侧导航栏api
export const getCateList = () => uni.$http.get('/api/public/v1/categories')

// 搜索search
// 搜索api
export const searchGoods = (params) => uni.$http.get('/api/public/v1/goods/qsearch',params)

// 商品列表goods_list
// 获取商品列表api
export const getGoodsList = (params) => uni.$http.get("/api/public/v1/goods/search",params)

// 商品详情goods_detail
// 获取商品详情api
export const getGoodsDetail = (params) => uni.$http.get('/api/public/v1/goods/detail',params)